
/**
 * 计算表格行样式
 */
 export function calcRowStyle(opts: any, scriptCode: string) {
    let result: any;
    const { row, rowIndex } = opts;
    eval(scriptCode);
    return result;
}
/**
 * 计算表格单元格样式
 */
export function calcCellStyle(opts: any, scriptCode: string) {
    let result: any;
    const { row, column, rowIndex } = opts;
    eval(scriptCode);
    return result;
}

/**
 * 计算表格头行样式
 */
export function calcHeaderRowStyle(opts: any, scriptCode: string) {
    let result: any;
    const { columns, rowIndex } = opts;
    eval(scriptCode);
    return result;
}

/**
 * 计算表格头单元格样式
 */
export function calcHeaderCellStyle(opts: any, scriptCode: string) {
    let result: any;
    const { column } = opts;
    eval(scriptCode);
    return result;
}